<div class="goodsmanager">
	<div class="nav">
		<div class="nav-li focus">商品管理</div>
	</div>
	<hr />

	<div class="goods_list">
		<table>
			<thead>
				<td class="logo">缩略图</td>
				<td class="name">名称</td>
				<td class="number">编号</td>
				<td class="price">价格</td>
				<td class="method">操作</td>
			</thead>
			{{#each goods}}
			<tr>
				<td><img bind-src="{{preview_img_url}}?imageView/1/w/25/h/25" alt="{{goods_name}}的缩略图"></td>
				<td><a href="/goods-details.html?id={{_id}}">{{goods_name}}</a></td>
				<td>{{_id}}</td>
				<td>{{price}}</td>
				<td>
					<button event-click="{{'$Top.$Event.remove_goods'}}" class="delete">删除</button>
					<button event-click="{{'$Top.$Event.update_goods'}}" class="delete">修改</button>
					<button title="置顶" event-click="{{'$Top.$Event.to_top'}}">置顶</button>
					<button title="上移" event-click="{{'$Top.$Event.to_up'}}" class="icon-arrow-up"></button>
					<button title="下移" event-click="{{'$Top.$Event.to_down'}}" class="icon-arrow-down"></button>
				</td>
			</tr>
			{{/each}}
		</table>

		<pagination
		 id="turn-page"
		 page-info="$Cache.bus.goods.page_info"
		 ></pagination>
	</div>
	
</div>